|
@@ -12,6 +12,9 @@ function getNewCode() {
|
|
|
postData('/tender/'+ $('#tenderId').val() +'/change/newCode', null, function (code) {
|
|
|
if (code !== '') {
|
|
|
$('#bj-code').val(code);
|
|
|
+ if (openChangePlan && changePlanList && _.findIndex(changePlanList, { code: code }) !== -1) {
|
|
|
+ $('#plan-code').val(code);
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
}
|
|
@@ -507,4 +510,12 @@ $(document).ready(() => {
|
|
|
}
|
|
|
window.location.href = link;
|
|
|
});
|
|
|
+
|
|
|
+ // 输入变更令号下方方案同步编号
|
|
|
+ $('#bj-code').change(function () {
|
|
|
+ const code = $(this).val();
|
|
|
+ if (openChangePlan && changePlanList && _.findIndex(changePlanList, { code: code }) !== -1) {
|
|
|
+ $('#plan-code').val(code);
|
|
|
+ }
|
|
|
+ })
|
|
|
});
|